Management API

Base Resource URL:

     https://[server-name]/api/v01/merchants/[merchant-code]/reseller

Description:

Represents Reseller associated with the given merchant.

Supported Actions:

attach  
Method:  POST       Implicit:  No       Returns:  ServiceResponse      
Consumes:  json, xml  Produces:  json, xml 
 
Attaches reseller to a merchant. A single reseller can be associated with a single merchant.

Parameters:
# Name Type Required Default Description
01 code Integer Yes Identifier of a reseller that is going to be attached to the specified merchant.


detach  
Method:  DELETE       Implicit:  No       Returns:  ServiceResponse      
Consumes:  xurl  Produces:  json, xml 
 
Detaches reseller from a merchant.


load  
Method:  GET       Implicit:  Yes       Returns:  Reseller *      
Consumes:  xurl  Produces:  json, xml 
 
Loads reseller associated with the merchant.